#pragma once
#include "MeshComponent.h"
namespace Alice{
    class StaticMesh;
    struct FMaterialAudit;
    class StaticMeshComponent:public MeshComponent{
    public:
        StaticMesh*mStaticMesh;
        StaticMeshComponent();
        class MaterialInterface* GetMaterial(int32 inIndex) override;
        virtual void CreateRenderState_Concurrent(FRegisterComponentContext* Context) override;
        PrimitiveSceneProxy*CreateSceneProxy()override;
        virtual PrimitiveSceneProxy* CreateStaticMeshSceneProxy(FMaterialAudit& NaniteMaterials, bool bCreateNanite);
    };
}